package edu.cibertec.service;

import java.util.List;

import edu.cibertec.bean.BeanDetalleExpedienteDTO;
import edu.cibertec.fabrica.DAOFactory;
import edu.cibertec.interface1.DetalleExpedienteDAO;

public class DetalleExpedienteService implements DetalleExpedienteDAO{
	
	DAOFactory factoria = DAOFactory.getFactorty(DAOFactory.SQLSERVER);
	DetalleExpedienteDAO dao = factoria.getDetalleExpedienteDAO();

	@Override
	public List<BeanDetalleExpedienteDTO> ListaDetalle(String exp) throws Exception {
		// TODO Auto-generated method stub
		return dao.ListaDetalle(exp);
	}

	@Override
	public int registrarDetalleExp(BeanDetalleExpedienteDTO x) {
		// TODO Auto-generated method stub
		return dao.registrarDetalleExp(x);
	}
	
	

}
